package com.shujia.interface_;

// 接口的实现是可以多实现的, 需要重写所有接口的抽象方法
public class Student extends Person implements Sport, Study {

    @Override
    public void run() {
        System.out.println(ITEM);
        System.out.println(SEQUIP);
        System.out.println("student run...");
    }

    @Override
    public void swimming() {
        System.out.println("student swimming...");
    }

    @Override
    public void studyChinese() {
        System.out.println("student studyChinese...");
    }

    @Override
    void sleep() {

    }
}
